package entities;

import java.io.Serializable;

import javax.jdo.annotations.Index;
import javax.persistence.Id;

public class Domain implements Serializable {
	@Id
	private String domain = "";
	
	private String ip = "";
	
	@Index 
	private int status = 1; //-1:blacklist, 1: active

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
